﻿using System;
namespace MSAS.FrontEnd.DL
{
    /// <summary>
    /// DL Cache Interface.  Allow to mock the database calls
    /// </summary>
    public interface ICache
    {
        byte GetClientExpirationIndex(int objectTypeId, int time);
        int GetClientExpirationTime(int objectTypeId, short index);
        byte GetServerExpirationIndex(int objectTypeId, int time);
        int GetServerExpirationTime(int objectTypeId, short index);
    }
}
